#!/usr/bin/python

# from http://www.wowwiki.com/UnitFlag

COMBATLOG_OBJECT_TYPE_MASK = 0x0000FC00
COMBATLOG_OBJECT_TYPE_OBJECT = 0x00004000
COMBATLOG_OBJECT_TYPE_GUARDIAN = 0x00002000
COMBATLOG_OBJECT_TYPE_PET = 0x00001000
COMBATLOG_OBJECT_TYPE_NPC = 0x00000800
COMBATLOG_OBJECT_TYPE_PLAYER = 0x00000400
COMBATLOG_OBJECT_CONTROL_MASK = 0x00000300
COMBATLOG_OBJECT_CONTROL_NPC = 0x00000200
COMBATLOG_OBJECT_CONTROL_PLAYER = 0x00000100
COMBATLOG_OBJECT_REACTION_MASK = 0x000000F0
COMBATLOG_OBJECT_REACTION_HOSTILE = 0x00000040
COMBATLOG_OBJECT_REACTION_NEUTRAL = 0x00000020
COMBATLOG_OBJECT_REACTION_FRIENDLY = 0x00000010
COMBATLOG_OBJECT_AFFILIATION_MASK = 0x0000000F
COMBATLOG_OBJECT_AFFILIATION_OUTSIDER = 0x00000008
COMBATLOG_OBJECT_AFFILIATION_RAID = 0x00000004
COMBATLOG_OBJECT_AFFILIATION_PARTY = 0x00000002
COMBATLOG_OBJECT_AFFILIATION_MINE = 0x00000001
COMBATLOG_OBJECT_SPECIAL_MASK = 0xFFFF0000
COMBATLOG_OBJECT_NONE = 0x80000000
COMBATLOG_OBJECT_RAIDTARGET8 = 0x08000000
COMBATLOG_OBJECT_RAIDTARGET7 = 0x04000000
COMBATLOG_OBJECT_RAIDTARGET6 = 0x02000000
COMBATLOG_OBJECT_RAIDTARGET5 = 0x01000000
COMBATLOG_OBJECT_RAIDTARGET4 = 0x00800000
COMBATLOG_OBJECT_RAIDTARGET3 = 0x00400000
COMBATLOG_OBJECT_RAIDTARGET2 = 0x00200000
COMBATLOG_OBJECT_RAIDTARGET1 = 0x00100000
COMBATLOG_OBJECT_MAINASSIST = 0x00080000
COMBATLOG_OBJECT_MAINTANK = 0x00040000
COMBATLOG_OBJECT_FOCUS = 0x00020000
COMBATLOG_OBJECT_TARGET = 0x00010000
